package com.youlu.campus.entity.english;

import com.youlu.campus.base.base.EntityBase;
import com.youlu.campus.entity.ActivityAnswerInfo;
import com.youlu.campus.entity.ActivityQuestionInfo;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户参与报名答题记录
 */
@Data
@Document(collection = "userCompetitionQaAnswer")
public class UserCompetitionQaAnswer extends EntityBase {

    @Indexed
    private String userId;
    @Indexed
    private String activityGroupId;
    private String qaCode;
    @Indexed
    private String qaInfoId;
    private Double score;
    private String name;
    /**
     * 大学ID
     */
    protected String universityId;
    /**
     * 大学名称
     */
    protected String universityName;
    private List<ActivityQuestionInfo> answersQuestionInfoList = new ArrayList<>();


}
